Skip to content

Fixing build of SqlDatabaseProjects due to missing hard-coded dependency"#1438

Merged
aaronpowell merged 1 commit into
mainfrom
sqlproject-build-fix
Jun 29, 2026
Merged

Fixing build of SqlDatabaseProjects due to missing hard-coded dependency"#1438
aaronpowell merged 1 commit into
mainfrom
sqlproject-build-fix

Conversation

@aaronpowell

Copy link
Copy Markdown
Member

Closes #<ISSUE_NUMBER>

PR Checklist

  • Created a feature/dev branch in your fork (vs. submitting directly from a commit on main)
  • Based off latest main branch of toolkit
  • PR doesn't include merge commits (always rebase on top of our main, if needed)
  • New integration
    • Docs are written
    • Added description of major feature to project description for NuGet package (4000 total character limit, so don't push entire description over that)
  • Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Contains NO breaking changes
  • Every new API (including internal ones) has full XML docs
  • Code follows all style conventions

Other information

Copilot AI review requested due to automatic review settings June 29, 2026 04:56
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.sh | bash -s -- 1438

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.ps1) } 1438"

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects integration package to explicitly reference MessagePack, addressing a missing dependency scenario that breaks the build.

Changes:

  • Added an explicit MessagePack PackageReference to the SqlDatabaseProjects hosting integration project.
Show a summary per file
File Description
src/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.csproj Adds MessagePack as an explicit dependency (centrally versioned) to resolve missing dependency/build issues.

Review details

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Low

Comment on lines 11 to +15
<PackageReference Include="Aspire.Hosting" />
<PackageReference Include="Aspire.Hosting.SqlServer" />
<PackageReference Include="Microsoft.Build.Locator" />
<PackageReference Include="Microsoft.SqlServer.DacFx" />
<PackageReference Include="MessagePack" />
@github-actions

Copy link
Copy Markdown
Contributor

Code Coverage

Package Line Rate Branch Rate Complexity Health
CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects 68% 59% 146
Summary 68% (267 / 391) 59% (58 / 98) 146

Minimum allowed line rate is 60%

@aaronpowell aaronpowell merged commit 725e2eb into main Jun 29, 2026
15 checks passed
@aaronpowell aaronpowell deleted the sqlproject-build-fix branch June 29, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants